package com.cloudkinto.service.consumer.vo.qoo10;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Qoo10ConsumerReq {
    private Long storeId;
//    @ApiModelProperty("“配送状态（1：等待配送，2：配送请求，3：配送准备，4：配送中，5：配送完成）*查询状态为1到3的订单 传0 就可以")
//    private String ShippingStatus;
    @ApiModelProperty("查询开始日期 例) 20230101(yyyyMMdd), 20230101153000(yyyyMMddHHmmss)")
    private Date SearchStartDate;
    @ApiModelProperty("查询结束日期 例) 20230101(yyyyMMdd), 20230101153000(yyyyMMddHHmmss)")
    private Date SearchEndDate;
    @ApiModelProperty("日期类型（1：订单日期，2：结算日期，3；发货日期，4：发货完成日期）")
    private String SearchCondition;
    @ApiModelProperty("0 自动 1同步已完成订单 2根据订单号同步 3 根据时间同步")
    private int type;

    private String platformOrderNo;
    @ApiModelProperty("同步记录的id")
    private Long syncId;

    public Qoo10ConsumerReq(Long storeId, Date searchStartDate, Date searchEndDate, String searchCondition, int type) {
        this.storeId = storeId;
        this.SearchStartDate = searchStartDate;
        this.SearchEndDate = searchEndDate;
        this.SearchCondition = searchCondition;
        this.type = type;
    }

    public Qoo10ConsumerReq(Long storeId, Date searchStartDate, Date searchEndDate, String searchCondition, int type, Long syncId) {
        this.storeId = storeId;
        this.SearchStartDate = searchStartDate;
        this.SearchEndDate = searchEndDate;
        this.SearchCondition = searchCondition;
        this.type = type;
        this.syncId = syncId;
    }
}
